﻿using System;
using Baby.GrowUp.Data;

namespace Baby.GrowUp.Model
{
    /// <summary>
    /// 照片
    /// </summary>
    public class Photo
    {
        /// <summary>
        /// 唯一ID
        /// </summary>
        [DataProperty("P_Id")]
        public string P_Id { get; set; }

        /// <summary>
        /// 相片名称
        /// </summary>
        [DataProperty("P_Title")]
        public string P_Title { get; set; }

        /// <summary>
        /// 相片详细描述
        /// </summary>
        [DataProperty("P_Detail")]
        public string P_Detail { get; set; }

        /// <summary>
        /// 相片路径
        /// </summary>
        [DataProperty("P_Path")]
        public string P_Path { get; set; }

        /// <summary>
        /// 是否公开
        /// </summary>
        [DataProperty("P_IsPrivate")]
        public bool P_IsPrivate { get; set; }

        /// <summary>
        /// 类别ID
        /// </summary>
        [DataProperty("C_Id")]
        public string C_Id { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        [DataProperty("P_CreateDate")]
        public DateTime P_CreateDate { get; set; }

        /// <summary>
        /// 所属相册ID
        /// </summary>
        [DataProperty("P_A_Id")]
        public string P_A_Id { get; set; }

        /// <summary>
        /// 所属用户
        /// </summary>
        [DataProperty("U_Id")]
        public string U_Id { get; set; }
    }
}
